import type {RouteRecordRaw} from 'vue-router'
import type { CategoryObj } from '@/api/product/attr/type'
export interface UserState{
    token:string | null,
    menuRoutes:RouteRecordRaw[],
    username:string,
    avatar:string,
    // 存储当前用户是否包含某一个按钮
    buttons: [],
}

export interface CategoryState{
    c1Arr:CategoryObj[],
    c1Id:number | string,
    c2Arr:CategoryObj[],
    c2Id:number | string,
    c3Arr:CategoryObj[],
    c3Id:number | string,
}